import http from '@/common/utils/request.js'

export const activity = {
	//获取列表
	getWheelList(data){
		return http.get('/merchant/activity/', {params:data, custom:{}})
	},
	//获取详情
	getItemById(data){
		return http.post('/merchant/activity/getItemById/', data, {custom:{}})
	},
	//创建
	createWheel(data){
		return http.post('/merchant/activity/createAction/', data, {custom:{}})
	},
	//新增
	updateWheel(data){
		return http.post('/merchant/activity/updateAction/', data, {custom:{}})
	},
}